export const getUserInfo = (userId) => {
  console.log(`Fetching user info for user: ${userId}`);
  return Promise.resolve({
    code: 200,
    data: {
      id: userId,
      username: '西湖分用户',
      creditScore: 655,
      phone: '13800138000'
    }
  });
};

export const updateUserInfo = (userId, data) => {
  console.log(`Updating user info for user: ${userId} with data:`, data);
  return Promise.resolve({
    code: 200,
    message: '用户信息更新成功'
  });
}; 